package com.lmaos.basetools.files.scan.io;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;

import com.lmaos.basetools.files.scan.ScanFile;

public class JarScanFileIOStreamParse implements ScanFileIOStreamParse{
	
	@Override
	public InputStream getInputStream(ScanFile scanFile) throws IOException {
		URL url = new URL("jar:file:"+scanFile.getAbsolutePath());
		return url.openStream();
	}

	@Override
	public OutputStream getOutputStream(ScanFile scanFile) {
		
		return null;
	}

}
